<template>
  <div>
    用户进行网页授权后的登陆页面
  </div>
</template>

<script>
import { setUserInfo } from "../utils/localstorage";
export default {
  name: "redirect",
  created() {
    const query = this.$route.query
    console.log('query', query)
    setUserInfo(query)
    this.$router.push({path:'/'})
  }
};
</script>
